package org.example;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.EnableAspectJAutoProxy;
import org.springframework.security.core.userdetails.UserDetails;


/**
 * 网关模块启动类
 *
 * @Author 湖南佐佑时代科技有限公司
 * @Version 5.4.21
 * @Email service@zuoyo.com
 * @Date 2022-06-16 13:31:39
 */
@SpringBootApplication(exclude = {
        DataSourceAutoConfiguration.class
})
@EnableDiscoveryClient
@EnableAspectJAutoProxy
@EnableFeignClients
//@ComponentScan(basePackages = {"cn.ewsd.**.*", "com.linkcircle.**.*", "org.springframework.http.codec"})
public class GatewayApplication {

    public static void main(String[] args) {


        SpringApplication.run(GatewayApplication.class, args);
    }

}
